package cn.dkdoo.utils.entity;

import cn.dkdoo.utils.config.traNo.TraNoBuild;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author nicky
 * @date 2021/5/12 下午5:24
 */
@Data
public class BaseRequest  implements Serializable, TraNoBuild {
    private static final long serialVersionUID = 1L;

    private String shopId;
    private List<String> shopIds;
    private String trNo;
    private String businessCode;

    @Override
    public String buildTraNo() {
        return "/" + this.trNo + "/" + this.businessCode;
    }
}
